/**
 * 
 */
package com.yilin.medical.views;

import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;

/**
 * @title 
 * @description 用一句话描述该文件做什么
 * @company 北京扎根网络信息技术有限公司
 * @author Jack Zhang
 * @version 1.0
 * @created 2014-9-27 下午9:27:23
 * @changeRecord [修改记录]<br />
 */
public class JxViewPager extends LazyViewPager {

	/**
	 * @param context
	 * @param attrs
	 */
	public JxViewPager(Context context, AttributeSet attrs) {
		super(context, attrs);
		// TODO Auto-generated constructor stub
	}
	
	/* (non-Javadoc)
	 * @see android.view.View#scrollTo(int, int)
	 */
	@Override
	public void scrollTo(int x, int y) {
		// TODO Auto-generated method stub
		super.scrollTo(x, y);
	}
	
	/* (non-Javadoc)
	 * @see android.support.v4.view.ViewPager#onTouchEvent(android.view.MotionEvent)
	 */
	@Override
	public boolean onTouchEvent(MotionEvent arg0) {
		// TODO Auto-generated method stub
		return false;
//		return super.onTouchEvent(arg0);
	}
	
	/* (non-Javadoc)
	 * @see android.support.v4.view.ViewPager#onInterceptTouchEvent(android.view.MotionEvent)
	 */
	@Override
	public boolean onInterceptTouchEvent(MotionEvent arg0) {
		// TODO Auto-generated method stub
//		return super.onInterceptTouchEvent(arg0);
		return false;
	}
	
	/* (non-Javadoc)
	 * @see android.support.v4.view.ViewPager#setCurrentItem(int, boolean)
	 */
	@Override
	public void setCurrentItem(int item, boolean smoothScroll) {
		// TODO Auto-generated method stub
		super.setCurrentItem(item, smoothScroll);
	}
	/* (non-Javadoc)
	 * @see android.support.v4.view.ViewPager#setCurrentItem(int)
	 */
	@Override
	public void setCurrentItem(int item) {
		// TODO Auto-generated method stub
		super.setCurrentItem(item);
	}
}
